from flask import Flask

from apps.extensions.init_sqlalchemy import db
from flask_migrate import Migrate

migrate = Migrate()

from .decorator.ext_decorator import ext_decorator
@ext_decorator
def init_migrate(app: Flask):
    migrate.init_app(app, db)
